home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / mint / mgr / sparcmgr / demo1.zoo / demo / tests / Makefile < prev    next >
Encoding:
Makefile  |  1989-01-24  |  1.6 KB  |  74 lines

  1. #                        Copyright (c) 1987 Bellcore
  2. #                            All Rights Reserved
  3. #       Permission is granted to copy or use this program, EXCEPT that it
  4. #       may not be sold for profit, the copyright notice must be reproduced
  5. #       on copies, and credit should be given to Bellcore where it is due.
  6. #       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
  7.  
  8. #    $Header: Makefile,v 4.1 88/06/21 14:02:01 bianchi Exp $
  9. #    $Source: /tmp/mgrsrc/demo/tests/RCS/Makefile,v $
  10.  
  11. # makefile for demo test routines
  12.  
  13. LIB= ../../lib/libmgr.a
  14. INCL= -I../../lib
  15. CPIO=test.cpio
  16. CFLAGS=-g $(INCL)
  17. START=.
  18.  
  19. CFILES= test_rop.c test_text.c test_menu.c half.c many.c
  20.  
  21. ALL =    test_rop test_text test_menu half many
  22.  
  23. all small:    $(ALL)
  24.  
  25. fast:        $(CFILES)
  26.         cc -c $(CFLAGS) $(CFILES)
  27.         make all
  28.  
  29. test_menu:    test_menu.o $(LIB)
  30.         cc $(CFLAGS) -o test_menu test_menu.o $(LIB)
  31.  
  32. scale:    scale.o $(LIB)
  33.         cc $(CFLAGS) -o scale scale.o $(LIB)
  34.  
  35. blank:    blank.o $(LIB)
  36.         cc $(CFLAGS) -o blank blank.o $(LIB)
  37.  
  38. cut:    cut.o $(LIB)
  39.         cc $(CFLAGS) -o cut cut.o $(LIB)
  40.  
  41. snap:    snap.o $(LIB)
  42.         cc $(CFLAGS) -o snap snap.o $(LIB)
  43.  
  44. many:    many.o $(LIB)
  45.         cc $(CFLAGS) -o many many.o $(LIB)
  46.  
  47. cal:        cal.o $(LIB)
  48.         cc $(CFLAGS) -o cal cal.o $(LIB)
  49.  
  50. half:        half.o $(LIB)
  51.         cc $(CFLAGS) -o half half.o $(LIB)
  52.  
  53. test_rop:    test_rop.o $(LIB)
  54.         cc $(CFLAGS) -o test_rop test_rop.o $(LIB)
  55.  
  56. test_text:    test_text.o $(LIB)
  57.         cc $(CFLAGS) -o test_text test_text.o $(LIB)
  58.  
  59. clean:
  60.         rm -f *.o
  61.  
  62. clobber:
  63.         rm -f $(ALL)
  64.  
  65. install smallinstall:
  66.  
  67. list:
  68.     @for i in $(CFILES) Makefile; do \
  69.         echo "$(START)/$$i"; \
  70.     done
  71.  
  72. cpio:
  73.     make -s list | cpio -ocv > $(CPIO)
  74.